'use strict';

import Base from './base.js';

export default class extends Base {

    /**
     * index action
     * @return {Promise} []
     */
    async indexAction() {
        let currentPage = this.get("currentPage");
        let pageSize = this.get("pageSize");
        let data = await this.model("a_order").getList([currentPage, pageSize]);
        this.success(data);
    }
}